package com.goods.business.service;

import com.goods.common.model.business.Consumer;
import com.goods.common.vo.business.ConsumerVO;
import com.goods.common.vo.system.PageVO;

import java.util.List;
import java.util.Map;

public interface ConsumerService {

    //加载物资去处列表
    PageVO<ConsumerVO> findAll(Map<String, Object> map);

    //添加物资去处列表
    void add(ConsumerVO consumerVO);

    //打开编辑页面,并且回显
    ConsumerVO edit(Long id);

    //更新用户
    void update(ConsumerVO consumerVO);

    //删除
    void delete(Long id);

    //加载去向数据
    List<ConsumerVO> fdAll();
}
